package com.shen.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class User {
    @Value("沈阳的沈")
    private String name;
    public void printHashInfo(){
        System.out.println(this.hashCode());
    }
}
